package com.lagou.edu.service;

import com.lagou.edu.bean.ToEmail;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/8/25 下午8:45
 */
public interface EmailService {

    /**
     * 发送验证码到邮箱
     * @param toEmail
     * @return
     */
    boolean sendEmail(ToEmail toEmail);
}
